Overview

This notebook explores the variance of traits across different levels of biological organization: within colonies, among colonies, among species, and among genera. There are many possibilities for analyses, so this will probably become a rather long notebook.


Density plots

First, it’s worth just looking at the distribution of traits within each species. We can do this for each trait, treating each worker (incorrectly) as an independent measurement.


Variance partitioning

Here is variance partitioning with ape::varpart().

Overall

Partitioning by genus

Partitioning by species


PCA

Here is some PCA.

Overall

Workers

What traits drive differences among workers? Do they separate into clusters based on taxonomy? Relative traits are shown in red, with absolute traits in blue.

\(\bar{y}\)

Do colony means show a similar pattern as individual workers?

\(log(d)\)

Are colonies of different species more or less variable for particular traits? Or are some species or genera more or less variable overall?

\(log(d)/\bar{y}\)

By genus

## $`1`

## 
## $`2`

## 
## attr(,"class")
## [1] "list"      "ggarrange"

By species

## $`1`

## 
## $`2`

## 
## $`3`

## 
## $`4`

## 
## $`5`

## 
## $`6`

## 
## $`7`

## 
## attr(,"class")
## [1] "list"      "ggarrange"